#define _CRT_SECURE_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>

int int_a(const void* e1, const void* e2)
{
	return *(int*)e1 - *(int*)e2;
}
void prna(int wer[], int n)
{
	for (int i = 0; i < n; i++)
		printf("%d", wer[i]);
	printf("\n");
}
void swef()
{
	int sz;
	int a[10] = { 9,8,7,6,5,4,3,2,1,0 };
	sz = sizeof(a) / sizeof(a[0]);
	prna(a, sz);
	qsort(a, sz, sizeof(a[0]), int_a);
	prna(a, sz);
}
int main()
{
	swef();

	return 0;
}






